package com.jiantong.work.service.yangzhibaoxian;

import com.jiantong.work.model.yangzhibaoxian.CustomerVisit;
import io.terminus.common.model.Paging;
import io.terminus.common.model.Response;

import java.util.List;
import java.util.Map;

/**
 * 客户访问表
 */
public interface CustomerVisitService {
    Response<CustomerVisit> findById(Long id);

    Response<List<CustomerVisit>> findByIds(List ids);

    Response<List<CustomerVisit>> list(Map map);

    Response<Paging<CustomerVisit>> ping(Integer offset,Integer limit,Map map);

    Boolean update(CustomerVisit customerVisit);

    Long create(CustomerVisit customerVisit);

    Integer creates(List<CustomerVisit> customerVisitList);
}
